#pragma once

#include "Value.h"

namespace pb { namespace cfg {

    class Config;

    class Int32Value : public Value
    {
        friend class Config;

    private:
        Int32Value(Config*, const std::string&);
        virtual ~Int32Value();

    private:
        virtual bool loadData(std::fstream&);
        virtual void saveData(std::fstream&);

        __int32 data() const;
        void data(__int32);

    private:
        __int32 m_data;
    };

}}